FROM openjdk:8
EXPOSE 8080

ADD target/data-analysis-1.0.1.jar /data/app/app.jar
RUN bash -c 'touch /data/app/app.jar'
WORKDIR /data/app
ENTRYPOINT ["java","-jar","app.jar"]
